package com.petAdoption.manager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.petAdoption.manager.entity.Product;
import com.petAdoption.manager.vo.ProductVO;

import java.util.List;

public interface IProductService extends IService<Product> {
    List<ProductVO> findAll();

    List<ProductVO> findByName(String productName);

    int updateProduct(Product product);

    int delProduct(Integer productId);

    int addProduct(Product product);

    List<ProductVO> productTypeName(Integer productType);

    List<ProductVO> productTypeById(Integer productTypeId);
}
